#!/usr/bin/env bash
#remove previous
rm -rf __deployme
mkdir __deployme

# build
sh scripts/build.sh

#compress js
uglify -s bundle.js -o __deployme/bundle.js

#compress css
#cssshrink bundle.css > __deployme/bundle.css

cp bundle.css __deployme/bundle.css

#copy html and images
cp index.html __deployme/index.html
cp -r images/ __deployme/images/

#done
date; echo;
